<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- Favicon -->
    <link rel="shortcut icon" th:href="@{/assets/media/image/favicon.png}"/>

    <!-- Plugin styles -->
    <link rel="stylesheet" th:href="@{/vendors/bundle.css}" type="text/css">

    <!-- Datepicker -->
    <link rel="stylesheet" th:href="@{/vendors/datepicker/daterangepicker.css}">

    <!-- Vmap -->
    <link rel="stylesheet" th:href="@{/vendors/vmap/jqvmap.min.css}">

    <!-- App styles -->
    <link rel="stylesheet" th:href="@{/assets/css/app.css}" type="text/css">
</head>
<body class="container">
<!--自定义宽度-->
<!-- begin::preloader-->
<div class="preloader">
    <div class="preloader-icon"></div>
</div>
<!-- end::preloader -->

<!-- begin::header -->
<div th:replace="~{commons/header :: header}"></div>
<!-- end::header -->

<!-- begin::main -->
<div id="main">

    <!-- begin::navigation -->
    <div th:replace="~{commons/navigation :: navigation}"></div>
    <!-- end::navigation -->

    <!-- begin::main-content -->
    <div class="main-content">

        <!-- begin::page content -->
        <div class="container-fluid">

            <div class="row">
                <div class="col-md-12 card">
                    <div class="row anno">
                        <img th:src="@{/image/anno.png}">
                        供应商信息
                    </div>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <tbody>
                            <tr>
                                <td>法人代表身份证</td>
                                <td th:text="${supplierMap.get('legalname')}">88923829999999</td>
                                <td>注册资金(万元)</td>
                                <td th:text="${supplierMap.get('money')}">100万元</td>
                            </tr>
                            <tr>
                                <td >税务登记证代码</td>
                                <td th:text="${supplierMap.get('tax_register_no')}">11010430033-X</td>
                                <td>经营执照编号</td>
                                <td th:text="${supplierMap.get('license_no')}">110104300991234</td>
                            </tr>
                            <tr>
                                <td>开户银行:</td>
                                <td th:text="${supplierMap.get('account_bank')}">工行找不着支行</td>
                                <td>账户:</td>
                                <td th:text="${supplierMap.get('account_no')}">020004960120008888</td>
                            </tr>
                            <tr>
                                <td>公司注册地址</td>
                                <td colspan="3" th:text="${supplierMap.get('address')}">广西</td>
                            </tr>
                            <tr>
                                <td>联系人:</td>
                                <td th:text="${supplierMap.get('link_name')}">小包</td>
                                <td>联系电话:</td>
                                <td th:text="${supplierMap.get('phone')}">12345678901</td>
                            </tr>
                            <tr>
                                <td>传真</td>
                                <td colspan="3" th:text="${supplierMap.get('fax')}">XXXXXXXXX</td>
                            </tr>
                            <tr>
                                <td>电子邮箱</td>
                                <td colspan="3" th:text="${supplierMap.get('email')}">123123123@123.123</td>
                            </tr>
                            <tr>
                                <td>煤源存放地点</td>
                                <td colspan="3" th:text="${supplierMap.get('ccr')}">山西、河北</td>
                            </tr>
                            <tr>
                                <td>运输方式及保障能力:</td>
                                <td colspan="3" th:text="${supplierMap.get('tsc')}">海运、汽运；年供应能力120万吨</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-12 card">
                    <div class="row anno">
                        <img th:src="@{/image/anno.png}">
                        附件信息
                    </div>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <th scope="col">序号</th>
                            <th scope="col">文件名称</th>
                            <th scope="col">上传人</th>
                            </thead>
                            <tbody>
                            <tr>
                                <td>1</td>
                                <td><a href="#" th:text="${supplierMap.get('legalurl')}">法人身份在.pdf</a></td>
                                <td>小明</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td><a href="#" th:text="${supplierMap.get('license_url')}">营业执照.pdf</a></td>
                                <td>小明</td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td><a href="#" th:text="${supplierMap.get('agency_no')}">组织机构代码.jpg</a></td>
                                <td>小明</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-12 card">
                    <div class="row anno">
                        <img th:src="@{/image/anno.png}">
                        审核记录
                    </div>
                    <div class="table-responsive">
                        <table class="table">
                            <thead>
                            <tr>
                                <th scope="col">序号</th>
                                <th scope="col">申请时间</th>
                                <th scope="col">供应商类型</th>
                                <th scope="col">审核人</th>
                                <th scope="col">审核时间</th>
                                <th scope="col">状态</th>
                                <th scope="col">审核信息</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="map,mapstart:${check}">
                                <td th:text="${mapstart.count}">1</td>
                                <td th:text="${#dates.format(map.get('apply_time'), 'yyyy-MM-dd HH:mm:ss')}">2015-08-21</td>
                                <td th:if="${map.get('supplier_type')=='general'}">一般供应商</td>
                                <td th:if="${map.get('supplier_type')=='temporary'}">临时供应商</td>
                                <td th:if="${map.get('supplier_type')=='internal'}">内部供应商</td>
                                <td th:if="${map.get('supplier_type')=='emphasis'}">重点供应商</td>
                                <td th:text="${map.get('name')}">刘备</td>
                                <td th:text="${#dates.format(map.get('audit_time'), 'yyyy-MM-dd HH:mm:ss')}">2015-08-21</td>
                                <td th:if="${map.get('audit_status')=='agree'}">通过</td>
                                <td th:if="${map.get('audit_status')=='rejected'}">驳回</td>
                                <td th:if="${map.get('audit_status')=='pending'}">待审核</td>
                                <td th:text="${map.get('audit_info')}">同意</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>


        <!-- end::page content -->

        <!-- begin::footer -->
        <footer>
            <div class="container-fluid">
                <div>© 2019 Protable v1.0.0 Made by <a href="http://bootstrapmb.com">Laborasyon</a></div>
                <div>
                    <nav class="nav">
                        <a href="" class="nav-link">Licenses</a>
                        <a href="#" class="nav-link">Change Log</a>
                        <a href="#" class="nav-link">Get Help</a>
                    </nav>
                </div>
            </div>
        </footer>
        <!-- end::footer -->

    </div>
    <!-- end::main-content -->

</div>
<!-- end::main -->

<div th:include="~{commons/scripts :: scripts}"></div>


<!-- App scripts -->
<script th:src="@{/assets/js/app.js}"></script>
</body>

</html>